package org.example.rowing.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.rowing.domain.Event;
import org.example.rowing.domain.User;

import java.util.List;

@Mapper
public interface UserMapper {

    List<User> selectAllUsers();

    User selectUserByName(String name);

    Boolean insertUser(User user);

    Boolean updateUser(User user);

}
